package com.application.tourapp;

import com.application.tourapp.baseadapter.ImageAdapter;
import com.application.tourapp.baseadapter.ImageSwipeAdapter;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.widget.ImageView;
 
public class FullImageActivity extends Activity {
 
    @Override
    public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
        setContentView(R.layout.swipe_image_activity);
 
        // get intent data
        /*  Intent i = getIntent();
 
        // Selected image id
        int position = i.getExtras().getInt("id");
        ImageAdapter imageAdapter = new ImageAdapter(this);
 
        ImageView imageView = (ImageView) findViewById(R.id.full_image_view);
        imageView.setImageResource(imageAdapter.mThumbIds[position]);*/
    	
    	ViewPager viewPager = (ViewPager) findViewById(R.id.view_pager);
    	ImageSwipeAdapter adapter = new ImageSwipeAdapter(this);
    	viewPager.setAdapter(adapter);
    }
 
}
